<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<jsp:include page="/common/backend_common.jsp"/>
	<title>用户新增界面</title>
</head>
<body style="padding:10px">
<div class="layui-form" lay-filter="userEditForm"> <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
  <input type="hidden" id="id" name="id" />
  <input type="hidden" id="deptId" name="deptId" />
  
  <div class="layui-form-item">
      <label class="layui-form-label">用户姓名</label>
      <div class="layui-input-inline" style="width: 300px;">
          <input type="text" class="layui-input" lay-verify="required" name="userName" autocomplete="off" placeholder="请输入用户名称">
      </div>
      <label class="layui-form-label">用户密码</label>
      <div class="layui-input-inline" style="width: 300px;">
          <input type="text" class="layui-input" lay-verify="required" name="password" autocomplete="off" placeholder="请输入密码">
      </div>
  </div>
  <div class="layui-form-item">
  	  <label class="layui-form-label">用户工号</label>
      <div class="layui-input-inline" style="width: 300px;">
          <input type="text" class="layui-input" lay-verify="required" name="loginNo" autocomplete="off" placeholder="请输入登录号">
      </div>
      <label class="layui-form-label">机构名称</label>
      <div class="layui-input-inline" style="width: 300px;">
          <input type="text" class="layui-input" lay-verify="required" name="deptName" id="deptName" readonly="readonly">
      </div>
  </div>
  <div class="layui-form-item">
      <label class="layui-form-label">手机号码</label>
      <div class="layui-input-inline" style="width: 300px;">
          <input type="text" class="layui-input" lay-verify="required|number" name="telephone" placeholder="请输入手机号码">
      </div>
      <label class="layui-form-label">E-mail</label>
      <div class="layui-input-inline" style="width: 300px;">
          <input type="text" class="layui-input" lay-verify="email" name="mail" placeholder="请输入邮箱地址">
      </div>
  </div>
  
  <div class="layui-form-item">
      <label class="layui-form-label">创建人</label>
      <div class="layui-input-inline" style="width: 300px;">
          <input type="text" class="layui-input layui-btn-disabled" name="operator" disabled="disabled">
      </div>
      <label class="layui-form-label">创建日期</label>
    <div class="layui-input-inline" style="width: 300px;">
      <input type="text" name="operateTime" id="operateTime" placeholder="yyyy-MM-dd" class="layui-input layui-btn-disabled" disabled="disabled">
    </div>
  </div>
  
  <div class="layui-form-item">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-inline" style="width: 300px;">
      <select id="status" name="status" lay-filter="aihao">
      	<option value=""></option>
        <option value="0">停用</option>
        <option value="1" selected="">启用</option>
        <option value="2">禁用</option>
      </select>
    </div>
  </div>
  <div class="layui-form-item">
    <label class="layui-form-label">角色</label>
    <div class="layui-input-block">
      <input type="checkbox" name="roles" value="zhgly" title="总行管理员">
      <input type="checkbox" name="roles" value="fhgly" title="分行管理员">
      <input type="checkbox" name="roles" value="grcxy" title="个人查询员">
      <input type="checkbox" name="roles" value="grshy" title="个人审核员">
      <input type="checkbox" name="roles" value="qycxy" title="企业查询员">
      <input type="checkbox" name="roles" value="qyshy" title="企业审核员">
    </div>
  </div>
  <div class="layui-form-item layui-form-text">
    <label class="layui-form-label">请填写描述</label>
    <div class="layui-input-block">
      <textarea placeholder="请输入内容" name="remark" class="layui-textarea"></textarea>
    </div>
  </div>
  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="userAddSubmit">立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
  <!-- 更多表单结构排版请移步文档左侧【页面元素-表单】一项阅览 -->
</div>

<script type="text/javascript" src="../../../other/js/config.js"></script>
<script type="text/javascript" src="userAdd.js"></script>
<script>

</script>
</body>
</html>